Home
last modified time | relevance | path

Searched hist:"8 a061562e2f2b32bfb5bff5bf3afc64e37d95a27" (Results 1 – 5 of 5) sorted by relevance

/linux/arch/riscv/include/asm/
H A Dkvm_vcpu_insn.hdiff 8a061562e2f2b32bfb5bff5bf3afc64e37d95a27 Fri Jul 29 13:44:53 CEST 2022 Anup Patel <apatel@ventanamicro.com> RISC-V: KVM: Add extensible CSR emulation framework

We add an extensible CSR emulation framework which is based upon the
existing system instruction emulation. This will be useful to upcoming
AIA, PMU, Nested and other virtualization features.

The CSR emulation framework also has provision to emulate CSR in user
space but this will be used only in very specific cases such as AIA
IMSIC CSR emulation in user space or vendor specific CSR emulation
in user space.

By default, all CSRs not handled by KVM RISC-V will be redirected back
to Guest VCPU as illegal instruction trap.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
H A Dkvm_host.hdiff 8a061562e2f2b32bfb5bff5bf3afc64e37d95a27 Fri Jul 29 13:44:53 CEST 2022 Anup Patel <apatel@ventanamicro.com> RISC-V: KVM: Add extensible CSR emulation framework

We add an extensible CSR emulation framework which is based upon the
existing system instruction emulation. This will be useful to upcoming
AIA, PMU, Nested and other virtualization features.

The CSR emulation framework also has provision to emulate CSR in user
space but this will be used only in very specific cases such as AIA
IMSIC CSR emulation in user space or vendor specific CSR emulation
in user space.

By default, all CSRs not handled by KVM RISC-V will be redirected back
to Guest VCPU as illegal instruction trap.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
/linux/arch/riscv/kvm/
H A Dvcpu_insn.cdiff 8a061562e2f2b32bfb5bff5bf3afc64e37d95a27 Fri Jul 29 13:44:53 CEST 2022 Anup Patel <apatel@ventanamicro.com> RISC-V: KVM: Add extensible CSR emulation framework

We add an extensible CSR emulation framework which is based upon the
existing system instruction emulation. This will be useful to upcoming
AIA, PMU, Nested and other virtualization features.

The CSR emulation framework also has provision to emulate CSR in user
space but this will be used only in very specific cases such as AIA
IMSIC CSR emulation in user space or vendor specific CSR emulation
in user space.

By default, all CSRs not handled by KVM RISC-V will be redirected back
to Guest VCPU as illegal instruction trap.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
H A Dvcpu.cdiff 8a061562e2f2b32bfb5bff5bf3afc64e37d95a27 Fri Jul 29 13:44:53 CEST 2022 Anup Patel <apatel@ventanamicro.com> RISC-V: KVM: Add extensible CSR emulation framework

We add an extensible CSR emulation framework which is based upon the
existing system instruction emulation. This will be useful to upcoming
AIA, PMU, Nested and other virtualization features.

The CSR emulation framework also has provision to emulate CSR in user
space but this will be used only in very specific cases such as AIA
IMSIC CSR emulation in user space or vendor specific CSR emulation
in user space.

By default, all CSRs not handled by KVM RISC-V will be redirected back
to Guest VCPU as illegal instruction trap.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
/linux/include/uapi/linux/
H A Dkvm.hdiff 8a061562e2f2b32bfb5bff5bf3afc64e37d95a27 Fri Jul 29 13:44:53 CEST 2022 Anup Patel <apatel@ventanamicro.com> RISC-V: KVM: Add extensible CSR emulation framework

We add an extensible CSR emulation framework which is based upon the
existing system instruction emulation. This will be useful to upcoming
AIA, PMU, Nested and other virtualization features.

The CSR emulation framework also has provision to emulate CSR in user
space but this will be used only in very specific cases such as AIA
IMSIC CSR emulation in user space or vendor specific CSR emulation
in user space.

By default, all CSRs not handled by KVM RISC-V will be redirected back
to Guest VCPU as illegal instruction trap.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Signed-off-by: Anup Patel <anup@brainfault.org>